package org.example.myleet.p1356;

public class Main {
    public static void main(String[] args) {
        int[] arr = new int[]{0,1,2,3,4,5,6,7,8};
        Solution2 solution2 = new Solution2();
        int[] sortedArr = solution2.sortByBits(arr);
        System.out.println(sortedArr);
    }
}
